package com.edu.mapper;

import com.edu.bean.Book;
import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    List<User> selectAllUsers();

    User selectUserByUserName(String userName);

    int insertUser(@Param("user") User user);
}
